package day_240430;

// 判断运行结果
public class Interview {
    public static void main(String[] args) {
    B b  = new B();
    new A(b);
    }
}

class A{
    public A(){
        System.out.println("A");
    }

    public A(B b){
        System.out.println("AB");
    }
}

class B extends A{
    public B(){
        System.out.println("B");
    }
}
